From: Richard M. Stallman Date: Sun, 9 May 1993 01:14:47 +0000 (+0000) Subject: (rmail-convert-to-babyl-format): Delete 1 char X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96360 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8896f2df11e2a46ec27ba826a277c40f7a9714c1;p=emacs.git (rmail-convert-to-babyl-format): Delete 1 char if we see a newline instead of what we expect. --- diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 036efc4564c..e11d40a7097 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -797,9 +797,11 @@ argument causes us to read a file name and use that file as the inbox." (insert ?\^_) (narrow-to-region (point) (point-max))) ;; - ;;This is a kludge, in case we're wrong about mmdf not - ;;allowing anything in between. If it loses, we'll have - ;;to look for something else + ;; This kludge is because some versions of sendmail.el + ;; insert an extra newline at the beginning that shouldn't + ;; be there. sendmail.el has been fixed, but old versions + ;; may still be in use. -- rms, 7 May 1993. + ((eolp) (delete-char 1)) (t (error "Cannot convert to babyl format"))))) count))